<?php
/**
 * ExtProgressBar class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtProgressBar extends ExtBoxComponent
{
    /**
     * Gets the value of ExtJS animate property
     * @return Boolean 
     */
    public function getAnimate()
    {
    	return $this->getConfig("animate");
    }

    /**
     * Sets the value of ExtJS animate property
     * @param Boolean $value 
     */
    public function setAnimate($value)
    {
    	$this->setConfig("animate",$value);
    }

    /**
     * Gets the value of ExtJS baseCls property
     * @return String 
     */
    public function getBaseCls()
    {
    	return $this->getConfig("basecls");
    }

    /**
     * Sets the value of ExtJS baseCls property
     * @param String $value 
     */
    public function setBaseCls($value)
    {
    	$this->setConfig("basecls",$value);
    }

    /**
     * Gets the value of ExtJS text property
     * @return String 
     */
    public function getText()
    {
    	return $this->getConfig("text");
    }

    /**
     * Sets the value of ExtJS text property
     * @param String $value 
     */
    public function setText($value)
    {
    	$this->setConfig("text",$value);
    }

    /**
     * Gets the value of ExtJS value property
     * @return Float 
     */
    public function getValue()
    {
    	return $this->getConfig("value");
    }

    /**
     * Sets the value of ExtJS value property
     * @param Float $value 
     */
    public function setValue($value)
    {
    	$this->setConfig("value",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'basecls' => 'baseCls'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'update' => array('sender','value','text')
        ));


        $this->setXType('progressbar');
        $this->setXClass('Ext.ProgressBar');
    }    
}
?>